cybot\cookiebot\lib\Cookiebot_Javascript_Helper B

Total Complexity 77
Dependencies 4
Dependents 2
Total lines 345
Lines of code 251
Logical lines of code 138
Comment lines 32
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
include_google_tag_manager_js()
A
47 12 32
include_google_consent_mode_js()
A
48 12 30
get_data_regions()
A
52 11 24
include_uc_cmp_js()
A
50 7 32
include_cookiebot_js()
S
50 7 29
get_custom_tcf_restrictions()
S
60 5 12
get_hooks_by_frame()
S
57 4 17
should_show_banner()
S
59 4 15
get_consent_attribute()
S
64 4 10
include_publisher_restrictions_js()
S
53 2 24
debug_log()
S
72 3 5
get_custom_tcf_ids()
S
71 2 6
get_tcf_attribute()
S
65 2 9
register_hooks()
S
81 1 3
is_tcf_enabled()
S
79 1 3